package com.example.his.api.mis.service.impl;

import com.example.his.api.db.dao.DeptDao;
import com.example.his.api.mis.service.DeptService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.HashMap;
import java.util.List;

/**
 * @author huixh
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Resource
    private DeptDao deptDao;
    @Override
    public List<HashMap<String, ?>> searchAllDept() {
        return deptDao.searchAllDept();
    }
}
